GDK W32: Don't handle WM_ACTIVATE for popup windows
authorРуслан Ижбулатов <lrn1986@gmail.com>
Mon, 27 May 2019 23:51:38 +0000 (23:51 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 28 May 2019 20:25:17 +0000 (20:25 +0000)
commit5ff7c3431b0dabe59cfd02af084deacdde45bd27
treecccf8b8c3eb13001e33773e2cb549384f52d2082
parent5ccb081fdb63cb806259f517670246874b9bb442
GDK W32: Don't handle WM_ACTIVATE for popup windows

Popups can't be active or inactive, so emitting GDK events
in response to WM_ACTIVATE makes no sense for these kinds
of GDK surfaces.

The jury is still out on whether we should block (return 0)
or ignore (don't return anything) this message.

Blocking WM_NCACTIVATE (which we currently ignore) is definitely
not an option - it completely breaks input somehow.
gdk/win32/gdkevents-win32.c